<!--/*--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link id="mastercss" rel="stylesheet" href="images/style.css" type="text/css" media="screen"/>
    <script src="include/js/common.js" type="text/javascript"></script>
</head>
<body><!--*/-->
<!--{&header,${title!},内容管理${catpath!}&nbsp;&raquo;&nbsp;添加内容}-->
<script src="include/js/jquery.min.js" type="text/javascript"></script>
<!--{!#system,common}-->
<div id="newslisttab">
    <ul>
        <li></li>
        <li class="active" id="tabTitle0"><a class="hideFocus" onclick="showTabs(0);" href="javascript:;">基本信息</a></li>
        <!--{if count($forminfos['editor'])>0}-->
        <li id="tabTitle1"><a class="hideFocus" onclick="showTabs(1);" href="javascript:;">内容编辑</a></li>
        <!--{/if}-->
        <!--{if isset($forminfos['senior']) && count($forminfos['senior'])>0}-->
        <li id="tabTitle2"><a class="hideFocus" onclick="showTabs(2);" href="javascript:;">扩展设置</a></li>
        <!--{/if}-->
        <li id="tabTitle3"><a class="hideFocus" onclick="showTabs(3);" href="javascript:;">默认发布</a></li>
        <li style="float:right" class="active"><a>添加内容</a></li>
        <li style="float:right"><a href="#{cms/content/${catid}}#">内容浏览</a></li>
    </ul>
</div>
<form method="post" action="#{/cms/addcontent/${catid}}#" enctype="multipart/form-data">
    <table cellspacing="0" cellpadding="0" width="100%" class="maintable">
        <tbody id='tabs0'>
        <!--{loop $forminfos['base'] $field $info}-->
        <tr>
            <th>${info[star]??<span class="sred">*</span>} ${info[name]}
                ${info[tips]?<div>@(info[tips])</div>}
            </th>
            <td>${info[form]}</td>
        </tr>
        <!--{/loop}-->
        </tbody>
        <tbody id='tabs1' style='display:none'>
        <!--{loop $forminfos['editor'] $field $info}-->
        <tr>
            <th style="text-align: left;">${info[star]??<span class="sred">*</span>} ${info[name]}
                <br/>${info[tips]?<span style="color:#000000">@(info[tips])</span>}
            </th>
        </tr>
        <tr>
            <td>${info[form]}</td>
        </tr>
        <!--{/loop}-->
        </tbody>
        <tbody id='tabs2' style='display:none'>
        <!--{loop $forminfos['senior'] $field $info}-->
        <tr>
            <th>${info[star]??<span class="sred">*</span>} ${info[name]}
                ${info[tips]?<div>@(info[tips])</div>}
            </th>
            <td>${info[form]}</td>
        </tr>
        <!--{/loop}-->
        </tbody>
        <tbody id='tabs3' style='display:none'>
        <tr>
            <th>发布栏目</th>
            <td>${cList}</td>
        </tr>
        <tr>
            <th>内容样式</th>
            <td><select name="style_color1" id="style_color1" onchange="">
                <option value="">颜色</option>
                <option value="c1" class="bg1">c1</option>
                <option value="c2" class="bg2">c2</option>
                <option value="c3" class="bg3"></option>
                <option value="c4" class="bg4"></option>
                <option value="c5" class="bg5"></option>
                <option value="c6" class="bg6"></option>
                <option value="c7" class="bg7"></option>
                <option value="c8" class="bg8"></option>
                <option value="c9" class="bg9"></option>
                <option value="c10" class="bg10"></option>
                <option value="c11" class="bg11"></option>
                <option value="c12" class="bg12"></option>
                <option value="c13" class="bg13"></option>
                <option value="c14" class="bg14"></option>
                <option value="c15" class="bg15"></option>
            </select>
                <label><input type="checkbox" name="style_strong1" id="style_strong1" value="b">
                    加粗</label><input type="hidden" name="publish[style]" id="style_id1" value=""></td>
        </tr>
        <tr>
            <th>精华级别</th>
            <td><input name="publish[digest]" type="radio" value="0" checked/>非精华&nbsp;&nbsp;
                <input name="publish[digest]" type="radio" value="1"/>精华I&nbsp;&nbsp;
                <input name="publish[digest]" type="radio" value="2"/>精华II&nbsp;&nbsp;
                <input name="publish[digest]" type="radio" value="3"/>精华III
            </td>
        </tr>

        <tr>
            <th>置顶级别</th>
            <td><input name="publish[top]" type="radio" value="0" checked/>非置顶&nbsp;&nbsp;
                <input name="publish[top]" type="radio" value="1"/>置顶I&nbsp;&nbsp;
                <input name="publish[top]" type="radio" value="2"/>置顶II&nbsp;&nbsp;
                <input name="publish[top]" type="radio" value="3"/>置顶III
            </td>
        </tr>

        <tr>
            <th>允许评论</th>
            <td><input name="publish[allowreply]" type="radio" value="1" checked/>允许评论&nbsp;&nbsp;
                <input name="publish[allowreply]" type="radio" value="0"/>不允许评论&nbsp;&nbsp;
            </td>

        </tr>
        </tbody>
    </table>
    <div class="buttons">
        <input type="submit" name="submit" value="{!common_submit}" class="submit">
    </div>


</form>
<!--{&footer}-->
<!--/*-->
</body>
</html><!--*/-->